﻿Public Class destinoVO


    Private _id_destino As Integer
    Private _desc_destino As String
    Private _desc_oficial As String
    Private _regional As regionalVO
    Private _municipio As String
    Private _status As Boolean
    Private _km_padrao As Integer
    Private _data_criacao As DateTime

    '-------------------------------------
    ' MÉTODO CONSTRUTOR SEM PARAMETROS
    '-------------------------------------

    Sub New()
        _id_destino = Nothing
        _desc_destino = Nothing
        _desc_oficial = Nothing
        _regional = Nothing
        _municipio = Nothing
        _status = Nothing
        _km_padrao = Nothing
        _data_criacao = Nothing
    End Sub

    '-------------------------------------
    ' MÉTODO CONSTRUTOR COM PARAMETROS
    '-------------------------------------

    Sub New(ByVal id_destino As Integer, _
            ByVal desc_destino As String, _
            ByVal desc_oficial As String, _
            ByVal regional As regionalVO, _
            ByVal municipio As String, _
            ByVal status As Boolean, _
            ByVal km_padrao As Integer, _
            ByVal data_criacao As DateTime)

        _id_destino = id_destino
        _desc_destino = desc_destino
        _desc_oficial = desc_oficial
        _regional = regional
        _municipio = municipio
        _status = status
        _km_padrao = km_padrao
        _data_criacao = data_criacao

    End Sub

    Public Property ID_DESTINO() As Integer
        Get

            Return _id_destino

        End Get
        Set(ByVal value As Integer)

            _id_destino = value

        End Set
    End Property

    Public Property DESC_DESTINO() As String
        Get

            Return _desc_destino

        End Get
        Set(ByVal value As String)

            _desc_destino = value

        End Set
    End Property

    Public Property DESC_OFICIAL() As String
        Get

            Return _desc_oficial

        End Get
        Set(ByVal value As String)

            _desc_oficial = value

        End Set
    End Property

    Public Property REGIONAL() As regionalVO
        Get

            Return _regional

        End Get
        Set(ByVal value As regionalVO)

            _regional = value

        End Set
    End Property

    Public Property MUNICIPIO() As String
        Get

            Return _municipio

        End Get
        Set(ByVal value As String)

            _municipio = value

        End Set
    End Property

    Public Property STATUS() As Boolean
        Get

            Return _status

        End Get
        Set(ByVal value As Boolean)

            _status = value

        End Set
    End Property

    Public Property KM_PADRAO() As Boolean
        Get

            Return _km_padrao

        End Get
        Set(ByVal value As Boolean)

            _km_padrao = value

        End Set
    End Property

    Public Property DATA_CRIACAO() As DateTime
        Get

            Return _data_criacao

        End Get
        Set(ByVal value As DateTime)

            _data_criacao = value

        End Set
    End Property

End Class
